package com.cskaoyan.service.systemservice;


import com.cskaoyan.bean.systembean.Role;
import com.cskaoyan.bo.systembo.PermissionBo;
import com.cskaoyan.vo.systemvo.RoleListVo;
import com.cskaoyan.vo.systemvo.RoleOptionsVo;
import com.cskaoyan.vo.systemvo.RolePermissionPostVo;

import java.util.List;

public interface RoleService {
    List<RoleOptionsVo> options();

    RoleListVo list(Integer page, Integer limit, String name, String sort, String order);

    Role create(Role role);

    void update(Role role);

    void delete(Role role);

    RolePermissionPostVo permissions1(Integer roleId);

    void permissions2(PermissionBo permissionBo);
}
